Enter ppp callback request at an interface configuration prompt on the client router. You can use ? for help. Callback will be requested calls going out that interface.
Make sure there is a dialer map command for the server which includes the server's hostname.
Enter map-class dialer <name> at the global configuration prompt. You are now in map-class configuration.
Enter dialer callback-server username and then exit.
Enter ppp callback accept at an interface configuration prompt on the server router. You can use ? for help. Callback will be accepted for all calls coming into that interface which request callback.
Add the string class <name> to the dialer map command before the dial string which defines the clients phone number and IP address. Make sure the clients hostname is a part of the same dialer map command.
Using dialer callback-secure at the config interface prompt will make the callback server always disconnect the initial call and only callback if the server has a complete config for the remote end. (i.e. dialer map with class and class defined).
The default is no dialer callback-secure which will keep up the initial call if the server does not have a complete config for the remote.
The time entered in the timeout option of the dialer hold-queue command is added to the enable time for the same interface. The sum is used to determine the actual timeout.
Command: dialer holdq <0-xx> [timeout <1-xx>]The default for the timeout option is 45 sec.
debug dialer (most important debug) debug ppp negotiation debug ppp chap